package cn.tedu.system.oa.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserVO {
    @ApiModelProperty("用户id")
    private Integer id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty("用户状态")
    private Integer status;
    @ApiModelProperty("用户职级")
    private String level;
    @ApiModelProperty("上级id")
    private Integer parentId;
    @ApiModelProperty("上级领导名称")
    private String parentName;
    @ApiModelProperty("部门id")
    private Integer deptId;
}
